<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/9/11 0011
 * Time: 上午 11:01
 */
namespace app\common\validate;

class WriteOffTicket extends BaseValidate{
    protected $rule = [
        'id' => 'require|isNotEmpty',
        'storeId' => 'require|isNotEmpty',
        'ticketId' => 'require|isNotEmpty'
    ];

    protected $message = [
        'orderId' => '主键ID不能为空',
        'storeId' => '店铺id不能为空',
        'ticketId' => '优惠券id不能为空'
    ];
}